﻿using System.Collections.Generic;
using System.Data.Objects.DataClasses;
using Critex.Models;

namespace Critex.ViewModels
{
    public class ImageCollectionAreaViewModel
    {
        public ImageCollectionAreaViewModel(ImageCollectionArea area, int sectionId)
        {
            this.Areas = area.ImageAreas;
            this.AreaId = area.Id;

            this.SectionId = sectionId;
        }

        public IEnumerable<ImageArea> Areas { get; set; }

        public int AreaId { get; set; }

        public int SectionId { get; set; }
    }
}
